The Shipment Tracking & Customer Notification Automation system is a real-time, multi-carrier tracking platform that continuously monitors FedEx, UPS, and DHL shipments via polling + webhooks, instantly detects delays/exceptions, updates internal dashboards, and sends proactive alerts to logistics teams (Slack) and customers (email/SMS). Built with Python, FastAPI, Celery/Redis, and Slack bots, it cuts manual tracking effort by 80 %, delivers notifications in <10 seconds, handles 10,000+ active shipments/day, and was delivered in 10 weeks (1 Sep – 19 Nov 2025).
Hybrid event-driven + scheduled pipeline:
Registry: New shipments are stored in PostgreSQL; Celery beat schedules polls every 5 min or receives carrier webhook pushes.
Processing: FastAPI processes standardized status parsing and exception detection logic.
Alerting: Detected issues trigger Slack bots for teams and SendGrid/Twilio for customers.
Infrastructure: Containerized via Docker, deployed on AWS ECS/Fargate with automatic retries and dead-letter queues.
Real-time Sync: Webhook-first approach with fallback polling ensures no missed updates.
Detection Engine: Configurable rules for late ETAs, exception codes, and stuck shipments.
Shipment records trigger Celery tasks that fetch raw carrier payloads. An adapter layer normalizes data to an internal schema, comparing it against SLA rules and previous states. Changes enrich messages for notification workers while logging full history. The system is rate-limit aware with masked PII for security.
Timeline: September 1 – November 19, 2025
Testing: Unit + integration tests (pytest), contract testing against carrier sandboxes, and chaos testing for API failures. Achieved 99.4% accuracy during UAT.
Deployment: Blue-green rollout on AWS ECS via GitHub Actions. Rollback capability in <3 minutes by switching task definitions.
Full observability via Grafana (latency, queue depth, delivery success) and PagerDuty integration for on-call rotations. Maintenance includes monthly carrier performance reviews and a one-click redeploy pipeline. Current uptime: 99.99%.
Methodology: Agile with mandatory code reviews and daily stand-ups.